package day0117;
class Car{
    Car(){
        System.out.println(1);//2
    }
    {//代码块
        System.out.println("代码块");
    }
    static {//代码块
        System.out.println("static代码块");
    }
}
public class TestCar {
    public static void main(String[] args) {
        Car c1 = new Car();//{System.out.println("代码块");}
        Car c2 = new Car();//{System.out.println("代码块");}
    }
}
